package com.woniu.exception.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author yellowDocter
 * @since 2022-08-15
 */
@TableName("t_exbrief")
@ApiModel(value = "TExbrief对象", description = "")
public class TExbrief implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("异常状况概要表的主键")
    @TableId(value = "exbrief_id", type = IdType.AUTO)
    private Integer exbriefId;

    @ApiModelProperty("异常登记表的主键")
    private Integer exceptionId;

    @ApiModelProperty("t_track表的主键")
    private Integer trackId;

    @ApiModelProperty("处理进度，0-未处理；1-处理中；2-已处理；")
    private Integer progressId;

    @TableField(exist = false)
    private TException tException;

    @TableField(exist = false)
    private TTrack tTrack;

    @TableField(exist = false)
    private TProgress tProgress;

    @TableField(exist = false)
    private List<TProgress> progresses;

    public List<TProgress> getProgresses() {
        return progresses;
    }

    public void setProgresses(List<TProgress> progresses) {
        this.progresses = progresses;
    }

    public TException gettException() {
        return tException;
    }

    public void settException(TException tException) {
        this.tException = tException;
    }

    public TTrack gettTrack() {
        return tTrack;
    }

    public void settTrack(TTrack tTrack) {
        this.tTrack = tTrack;
    }

    public TProgress gettProgress() {
        return tProgress;
    }

    public void settProgress(TProgress tProgress) {
        this.tProgress = tProgress;
    }

    public Integer getExbriefId() {
        return exbriefId;
    }

    public void setExbriefId(Integer exbriefId) {
        this.exbriefId = exbriefId;
    }
    public Integer getExceptionId() {
        return exceptionId;
    }

    public void setExceptionId(Integer exceptionId) {
        this.exceptionId = exceptionId;
    }
    public Integer getTrackId() {
        return trackId;
    }

    public void setTrackId(Integer trackId) {
        this.trackId = trackId;
    }
    public Integer getProgressId() {
        return progressId;
    }

    public void setProgressId(Integer progressId) {
        this.progressId = progressId;
    }

    @Override
    public String toString() {
        return "TExbrief{" +
                "exbriefId=" + exbriefId +
                ", exceptionId=" + exceptionId +
                ", trackId=" + trackId +
                ", progressId=" + progressId +
                ", tException=" + tException +
                ", tTrack=" + tTrack +
                ", tProgress=" + tProgress +
                ", progresses=" + progresses +
                '}';
    }
}
